<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script src="../练习项目/js/lodash.min.js"></script>
    <script>
        const object = {
            age: 18,
            name: '椿',
            address: '江西',
            hobby: ['唱', '跳', 'rap', '打篮球'],
            ablity: {
                a: '吃饭',
                b: '睡觉',
                c: '打游戏',
            },
        }

        const newObj = _.cloneDeep(object)
        console.log(newObj);
        console.log(object);

    </script>
</body>

</html>